<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page isELIgnored="false"%>
<!DOCTYPE html>
<%
	String path = request.getContextPath();
%>
<html>
<head>

<link rel="stylesheet" type="text/css"
	href="<%=path%>/script/easyUI-1.4/themes/bootstrap/easyui.css">
<link rel="stylesheet" type="text/css"
	href="<%=path%>/script/easyUI-1.4/themes/icon.css">
<script type="text/javascript"
	src="<%=path%>/script/easyUI-1.4/jquery-3.2.1.min.js"></script>
<script type="text/javascript"
	src="<%=path%>/script/easyUI-1.4/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="<%=path%>/script/easyUI-1.4/locale/easyui-lang-zh_CN.js"></script>
 <script src="<%=path%>/script/echarts.js"></script>
</head>






<body >

	  <!-- 为ECharts准备一个具备大小（宽高）的Dom -->
    <div id="main" style="width: 600px;height:400px;"></div>
    <script type="text/javascript">
        // 基于准备好的dom，初始化echarts实例
        var myChart = echarts.init(document.getElementById('main'));

        // 指定图表的配置项和数据
        var option = {
        		  title: {
        		        text: '灵敏度分析'
        		    },
        		    tooltip: {
        		        trigger: 'axis'
        		    },
        		    legend: {
        		        data:['x1','x2','x3']
        		    },
        		    grid: {
        		        left: '3%',
        		        right: '4%',
        		        bottom: '3%',
        		        containLabel: true
        		    },
        		    toolbox: {
        		        feature: {
        		            saveAsImage: {}
        		        }
        		    },
        		    xAxis: {
        		        type: 'category',
        		        boundaryGap: false,
        		        data: ['${xCongfig.x1}','${xCongfig.x2}','${xCongfig.x3}','${xCongfig.x4}','${xCongfig.x5}','${xCongfig.x6}','${xCongfig.x7}','${xCongfig.x8}','${xCongfig.x9}','${xCongfig.x10}']
        		    },
        		    yAxis: {
        		    	
        		    },
        		    series: [
        		        {
        		            name:'x1',
        		            type:'line',
        		            stack: '总量',
        		            data:['${x1Config.x1}','${x1Config.x2}','${x1Config.x3}','${x1Config.x4}','${x1Config.x5}','${x1Config.x6}','${x1Config.x7}','${x1Config.x8}','${x1Config.x9}','${x1Config.x10}']
        		        },
        		        {
        		            name:'x2',
        		            type:'line',
        		            stack: '总量',
        		            data:['${x2Config.x1}','${x2Config.x2}','${x2Config.x3}','${x2Config.x4}','${x2Config.x5}','${x2Config.x6}','${x2Config.x7}','${x2Config.x8}','${x2Config.x9}','${x2Config.x10}']
        		        },
        		        {
        		            name:'x3',
        		            type:'line',
        		            stack: '总量',
        		            data:['${x3Config.x1}','${x3Config.x2}','${x3Config.x3}','${x3Config.x4}','${x3Config.x5}','${x3Config.x6}','${x3Config.x7}','${x3Config.x8}','${x3Config.x9}','${x3Config.x10}']
        		        
        		        },
        		     
        		    ]
        };

        // 使用刚指定的配置项和数据显示图表。
        myChart.setOption(option);
    </script>

<div id = "result" style="margin-top: -350px;margin-left: 850px;">
	<h2>结论</h2>
	<p style="margin-left: -150px">在不同的<code>入</code>取值下，应急方案排序结果具有稳定性，最优方案保持不变<br>，<code>入</code>对排序结果影响有限
	</p>
	<p style="margin-left: -150px">
		综上所述，<font style="color:red">方案${result}</font>是最优的。
	</p>
</div>

</body>

</html>